{include file='public/head'}

<style type="text/css" media="screen">
    header {
        color: black;
    }

    #find .layui-input {
        display: initial;
        width: 80%;
        padding-left: 0;
    }

    .x-body {
        min-width: 800px;
    }

    body {
        overflow-x: scroll;
    }
</style>

<body>
<div class="x-body">
    <form class="layui-form" id='mainForm' method="post" action="edit">
        <table class="layui-table">
            <tbody>
            <tr>
                <td rowspan="2">
                    {if empty($info['imgpath'])}
                    <img src="__images__/noimg.png">
                    {else/}
                    <img src="{$info['imgpath']}" onclick="previewImg(this)">
                    {/if}
                </td>
                <td style="text-align:center">采购数量</td>
                <td colspan="4">
                    <a href="{$info.url}" style="color: #01AAED;" target="_blank">{$info.title}</a>
                </td>
            </tr>
            <tr>
                <td style="text-align:center">{$info.num}</td>
                <td>货币单位:{$info.unit}</td>
                <td>找货总价{$info.total}</td>
                <td>+运费{$info.fee}</td>
                <td>-优惠{$info.discounts}</td>
            </tr>
            <tr>
                <td>找货订单号</td>
                <td colspan="5">{$info.order_no}</td>
            </tr>
            <tr>
                <td>物流追踪号</td>
                <td colspan="5">{$info.logistics}</td>
            </tr>
            <tr>
                <td>当前状态</td>
                <td colspan="5">
                    {switch name="$info.overdue" }
                    {case value="1"}待采购{/case}
                    {case value="2"}采购中{/case}
                    {case value="3"}采购完{/case}
                    {/switch}
                </td>
            </tr>
            <tr>
                <td>支付账号</td>
                <td colspan="5">{$account}</td>
            </tr>
            <tr>
                <td>支付凭证号</td>
                <td colspan="5">{$info.voucher}</td>
            </tr>
            <tr>
                <td>找货单其他附加说明</td>
                <td colspan="5">{$info.explain}</td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
</body>
</html>
